package beans.thread.executor;

import java.util.concurrent.Callable;

public class Vip implements Callable<String>
{
	private final String cardNO;

	public Vip(String cardNO)
	{
		this.cardNO = cardNO;
	}

	public String getCardNO()
	{
		return cardNO;
	}

	@Override
	public String call() throws Exception
	{
		if (cardNO.equals("1111"))
			return "0";
		else
			return "1";
	}

}
